package dao;

import java.util.Date;  
import java.util.List;


import metier.Filiere;

import org.hibernate.Query;
import org.hibernate.Session;

import util.HibernateUtil;


public class DaoImpl implements IDao {

	@Override
	public void addFiliere(Filiere f) {
		Session session=HibernateUtil.getSessionFactory().getCurrentSession();
		session.beginTransaction();
		session.save(f);
		session.getTransaction().commit();
	}
	
	
	

	

	

}
